<script setup>
import { getHouseList} from '@/api/test.js'
import { comma } from 'postcss/lib/list';
import { reactive } from 'vue';
const getData =reactive({
   data :null
});
// const dataJson =comma(()
const getList =async ()=>{
    let res = await getHouseList();
    getData.data = res.data;
    console.log("接受的数据",res);
}
</script>

<template>
    {{ getData.data }}
    <el-button @click="getList">请求</el-button>
</template>
